# Maintainer: Antoni Aloy <aaloytorrens@gmail.com>
pkgname=planner
pkgver=0.14.91
pkgrel=1
pkgdesc="Project management application"
url="https://wiki.gnome.org/Apps/Planner"
arch="all"
license="GPL-2.0-or-later"
makedepends="meson cmake glib-dev gtk+3.0-dev libxslt-dev"
subpackages="$pkgname-lang $pkgname-doc"
source="https://download.gnome.org/sources/planner/${pkgver%.*}/planner-$pkgver.tar.xz"

build() {
	abuild-meson -Db_lto=true . build
	meson compile -C build
}

check() {
	meson test --no-rebuild --print-errorlogs -C build
}

package() {
	DESTDIR="$pkgdir" meson install --no-rebuild -C build
}

sha512sums="
579ad60d3282124f9cf954163c27feaa1d505ce3135b3d668e1fe0ca036d7e7290bbd3a6d9c30f32a77594c5d60988feee670266c34c0a8b9240510609ab46e2  planner-0.14.91.tar.xz
"
